﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Ghasam.Business" namespace="Ghasam.Business.Domain.Entity">
  <class name="BasicSalary" table="BasicSalary" >
    <id name="Id" type="Int32" column="EmployeeId">
      <generator class="foreign">
        <param name="property">Employee</param>
      </generator>
    </id>
    <one-to-one name="Employee" class="Employee" />
    <property name="BaseSalary" column="BasicSalary" type="Single" not-null="false" />
    <property name="InformalSalary" column="InformalSalary" type="Single" not-null="false" />
    <property name="TaxPrice" column="TaxPrice" type="Single" not-null="false" />
    <property name="HomeExtra" column="HomeExtra" type="Single" not-null="false" />
    <property name="ChildrenExtra" column="ChildrenExtra" type="Single" not-null="false" />
    <property name="GoodsExtra" column="GoodsExtra" type="Single" not-null="false" />
    <property name="OverTimePerHour" column="OverTimePerHour" type="Single" not-null="false" />
    <property name="OffTimePerHour" column="OffTimePerHour" type="Single" not-null="false" />
    <property name="CreateDate" column="CreateDate" type="System.DateTime" not-null="false" />
    <property name="ModifyStamp" column="ModifyStamp" type="System.DateTime" not-null="false" />
  </class>
</hibernate-mapping>